// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.portal.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fowo.api.portal.entity.DesktopScheme;
import com.fowo.api.portal.mapper.DesktopSchemeMapper;
import com.fowo.api.portal.service.DesktopSchemeService;
import com.fowo.api.sys.service.FileService;
import com.fowo.api.sys.service.SysImportTemplateService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import javax.validation.Validator;
import java.util.*;

/**
 * 门户信息表 服务实现类
 * @author 蜂窝蜜造平台 配置人：孙智远
 */
@Service
@Slf4j
@DS("ds21")
public class DesktopSchemeServiceImpl
  extends ServiceImpl<DesktopSchemeMapper, DesktopScheme>
  implements DesktopSchemeService {

  public static final Map<String, String> SORT_FIELD_MAP = new HashMap<>();
  // 导出时单次查询最大记录数
  protected static final int EXPORT_QUERY_MAX_SIZE = 1000;
  // 支持导出的最大记录数(1048576 为 Excel 支持的最大行数)
  protected static final long EXPORT_MAX_SIZE = 1048575;

  @Resource
  protected FileService fileService;

  @Resource
  protected SysImportTemplateService importTemplateService;

  @Resource
  protected Validator validator;


}
